/**
 * Copyright (C) 2017 - 2020 https://github.com/joewee
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bifrost.model.sap;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.io.Serializable;

/**
 *交易增强信息
 *
 *@author joewee
 *@version 1.0.0
 *@Date 2018/5/18 12:45
 */
@XStreamAlias("ITEM7")
public class Extension extends BaseXml implements Serializable{
    public static final String FIELD_GROUP_ZYTBJ = "1015";
    public static final String FIELD_NAME_ZYTBJ = "ZYTBJ";
    public static final String FIELD_VALUE_ZYTBJ = "1";

    /**
     * 增强组
     */
    @XStreamAlias("FIELDGROUP")
    private String fieldGroup = FIELD_GROUP_ZYTBJ;
    /**
     * 字段名称
     */
    @XStreamAlias("FIELDNAME")
    private String fieldName = FIELD_NAME_ZYTBJ;
    /**
     * 字段值
     */
    @XStreamAlias("FIELDVALUE")
    private String fieldValue = FIELD_VALUE_ZYTBJ;

    public Extension() {

    }

    public Extension(String fieldGroup,String fieldName,String fieldValue) {
        this.fieldGroup = fieldGroup;
        this.fieldName = fieldName;
        this.fieldValue = fieldValue;
    }

    public String getFieldGroup() {
        return fieldGroup;
    }

    public void setFieldGroup(String fieldGroup) {
        this.fieldGroup = fieldGroup;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(String fieldValue) {
        this.fieldValue = fieldValue;
    }
}
